<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>蘑菇街后台管理中心</title>  
   <link rel="stylesheet" href="{{ asset('admin_style/css/pintuer.css') }}">
   <link rel="stylesheet" href="{{ asset('admin_style/css/admin.css') }}">
    <script src="{{asset('admin_style/js/jquery.js')}}"></script>   
</head>
<body style="background-color:#f2f9fd;">
<div class="header bg-main">
  <div class="logo margin-big-left fadein-top">
    <h1><img src="{{asset('admin_style/images/y.jpg')}}" class="radius-circle rotate-hover" height="50" alt="" />蘑菇街后台管理中心</h1>
  </div>
  <div class="head-l"><a class="button button-little bg-green" href="{{url('/')}}" target="_blank"><span class="icon-home"></span> 前台首页</a> &nbsp;&nbsp;<a class="button button-little bg-red" href="{{ url('admin/login_out')}}"><span class="icon-power-off"></span> 退出登录</a> </div>
</div>
@if($num == 1)
<div class="leftnav">
  <div class="leftnav-title"><strong><span class="icon-list"></span>菜单列表</strong></div>
  <h2><span class="icon-home"></span>基本设置</h2>
  <ul>
    <li><a href="{{url('basics/info')}}" target="right"><span class="icon-caret-right"></span>网站设置</a></li>
    <li><a href="{{url('basics/change_pass')}}" target="right"><span class="icon-caret-right"></span>修改密码</a></li>
    <li><a href="{{url("basics/adv")}}" target="right"><span class="icon-caret-right"></span>首页轮播</a></li>       
  </ul>
  <h2><span class="icon-user"></span>会员管理</h2>
   <ul>
    <li><a href="{{ url('user/hy_list')}}" target="right"><span class="icon-caret-right"></span>会员列表</a></li>
    <li><a href="{{ url('user/add')}}" target="right"><span class="icon-caret-right"></span>添加会员</a></li>
  </ul>
  <h2><span class="icon-reorder (alias)"></span>交易管理</h2>
   <ul>
    <li><a href="{{ url('deal/deal_order_manage')}}" target="right"><span class="icon-caret-right"></span>订单管理</a></li>
  </ul>
  <h2><span class="icon-group (alias)"></span>管理员管理</h2>
   <ul>
    <li><a href="{{ url('admin/gly_list')}}" target="right"><span class="icon-caret-right"></span>管理员列表</a></li>
    <li><a href="{{ url('admin/person_info')}}" target="right"><span class="icon-caret-right"></span>个人信息</a></li>
  </ul>
  <h2><span class="icon-cube"></span>商品管理</h2>
   <ul>
    <li><a href="{{ url('goods/goodsList')}}" target="right"><span class="icon-caret-right"></span>商品查询</a></li>     
    <li><a href="{{ url('goods/goods_list')}}" target="right"><span class="icon-caret-right"></span>商品列表</a></li>
    <li><a href="{{ url('goods/goods_add')}}" target="right"><span class="icon-caret-right"></span>添加新商品</a></li>
    <li><a href="{{ url('goods/goods_cate')}}" target="right"><span class="icon-caret-right"></span>平台商品分类</a></li>
    <li><a href="{{ url('goods/goods_trash')}}" target="right"><span class="icon-caret-right"></span>商品回收站</a></li>     
    <li><a href="{{ url('goods/goods_manage')}}" target="right"><span class="icon-caret-right"></span>商品属性列表</a></li>
    <li><a href="{{ url('goods/goods_uploading')}}" target="right"><span class="icon-caret-right"></span>商品图片上传</a></li>     
  </ul>
    <h2><span class="icon-group (alias)"></span><a href="{{ url('node/node_list')}}" target="right">权限管理</a></h2>
</div>
@elseif($num == 2)
    <div class="leftnav">
        <div class="leftnav-title"><strong><span class="icon-list"></span>菜单列表</strong></div>
        <h2><span class="icon-user"></span>会员管理</h2>
        <ul>
            <li><a href="{{ url('user/hy_list')}}" target="right"><span class="icon-caret-right"></span>会员列表</a></li>
            <li><a href="{{ url('user/add')}}" target="right"><span class="icon-caret-right"></span>添加会员</a></li>
        </ul>
        <h2><span class="icon-reorder (alias)"></span>交易管理</h2>
        <ul>
            <li><a href="{{ url('deal/deal_order_manage')}}" target="right"><span class="icon-caret-right"></span>订单管理</a></li>
        </ul>
    </div>
    @else
    <div class="leftnav">
        <div class="leftnav-title"><strong><span class="icon-list"></span>菜单列表</strong></div>
        <h2><span class="icon-user"></span>会员管理</h2>
        <ul>
            <li><a href="{{ url('user/hy_list')}}" target="right"><span class="icon-caret-right"></span>会员列表</a></li>
            <li><a href="{{ url('user/add')}}" target="right"><span class="icon-caret-right"></span>添加会员</a></li>
        </ul>
    </div>
    @endif
<script type="text/javascript">
$(function(){
  $(".leftnav h2").click(function(){
	  $(this).next().slideToggle(200);	
	  $(this).toggleClass("on"); 
  })
  $(".leftnav ul li a").click(function(){
	    $("#a_leader_txt").text($(this).text());
  		$(".leftnav ul li a").removeClass("on");
		$(this).addClass("on");
  })
 $(".leftnav").children("ul:last-child").css("padding-bottom","100px");
});
</script>
<ul class="bread">
  <li><a href="{{url('basics/info')}}" target="right" class="icon-home"> 首页</a></li>
  <li><a href="##" id="a_leader_txt">网站信息</a></li>
  <li><b>当前语言：</b><span style="color:red;">中文</php></span>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;切换语言：<a href="##">中文</a> &nbsp;&nbsp;<a href="##">英文</a> </li>
</ul>
<div class="admin">
  <iframe scrolling="auto" rameborder="0" src="{{url("basics/info")}}" name="right" width="100%" height="100%"></iframe>
</div>
</body>
</html>
